<html>
<head>
<title>附近的人</title>
<include file="SPGPub:header" />

<style type="text/css">
.social{
min-height: 150px;
padding-top: 20px;
}

.social >div {
width: 82px;
color:#fff;
font-size:18px;
background-color: #5D4782;
float: left;
text-align: center;
padding: 10px 0px;
margin-right: 10px;
border-radius:3px;
margin-bottom: 20px;
}

.tip_head{
background-color: #DEDDDF;
padding: 15px 10px;
margin: 0px -15px;
color:#555;
font-size: 18px;
font-weight: normal;
}
.chat{
display:inline-block;
width: 76px;
height: 51px;
position: absolute;
right: 0;
top: 90px;
background-image: url('{cms>:RES}/images/chat.png');
background-size:76px 51px;
}

</style>

</head>

<body>

<header class="titlebar">
		<a href="{cms>:U('Spgclub/index')}">返回</a>
		<h1>附近的人</h1>
</header>
	
	<div class="container">
		<div class="box">
		
			<div>
				<img width="100%" alt="" src="{cms>$model.headimgurl}" />
			</div>
			
			<div class="blackbox">
				<P>姓名：{cms>$model.nickname}</P>
				<P>性别：<if condition="$model['sex'] eq 1" >男<elseif condition="$model['sex'] eq 2" />女<else />保密</if></P>
				<a href="{cms>:U('Spgclub/addBlacklist',array('id'=>$model['id']))}" class="btn btnSmall btnGray">加入黑名单</a>
			</div>
			
			<h1 class="tip_head">社交关键词</h1>
			<div class="social">
				<if condition="$profile['zl_biz'] eq 1"><div>商务</div></if>
				<if condition="$profile['zl_sport'] eq 1"><div>运动</div></if>
				<if condition="$profile['zl_party'] eq 1"><div>派对</div></if>
				<if condition="$profile['zl_weal'] eq 1"><div>公益</div></if>
				<if condition="$profile['zl_eat'] eq 1"><div>聚餐</div></if>
				<if condition="$profile['zl_video'] eq 1"><div>影音</div></if>
				<if condition="$profile['zl_travel'] eq 1"><div>旅游</div></if>
				<if condition="$profile['zl_ent'] eq 1"><div>休闲娱乐</div></if>
			</div>
			<div>
				<a href="{cms>:U('Spgclub/chat',array('toid'=>$model['id']))}" class="chat"></a>
				<br/>
				<a href="{cms>:U('Spgclub/nearby')}" class="btn">换一个试试</a>
			</div>
			
		</div>
	</div>
</body>
</html>
